package legumes.client.services.callbacks;

import legumes.client.services.LegumesServicesHelper;
import legumes.client.services.util.rpc.SequencableRPCCall;
import legumes.shared.domain.Stall;

public class SaveStallCallback extends SequencableRPCCall<Void> {

	private Stall stall;

	public SaveStallCallback(Stall stall_) {
		stall = stall_;
	}

	@Override
	protected void doCall() {
		LegumesServicesHelper.LEGUMES_SERVICES.save(stall, this);
	}

}